
public class class1 {

	/**
	 * @param args
	 * @throws InterruptedException 
	 */
	public static void main(String[] args) throws InterruptedException {
		System.out.print("old line");
		   Thread.sleep(3000);
		   System.out.print("\rnew");
		   System.out.println("foo\b\bun");

	}

}
